//package com.zmn.plat.dubbo.interfaces.key;
//
//import javax.validation.constraints.NotNull;
//import javax.validation.constraints.Positive;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//
///**
// * 通用全局 UUID 服务
// *
// * @author duanzuocai
// * @version v1.0
// * @since 2019/1/18 21:48
// */
//@Api(value = "通用全局UUID服务", tags = {"UUID"})
//public interface BaseKeyRemoteService {
//    /**
//     * 获取一个KEY：查询一个可用KEY返回, 且更新为已读
//     *
//     * @param type:
//     *            1保修卡，2优惠券
//     * @return key
//     */
//    @ApiOperation(value = "获取一个KEY：查询一个可用KEY返回, 且更新为已读", response = String.class, notes = "type: 1保修卡，2优惠券", tags = {"查询", "更新"})
//    String getOneRandomKey(@NotNull(message = "type不能为空") @Positive(message = "type必须为大于0的正整数") @ApiParam(value = "类型", required = true) Integer type);
//}
